<template>
  <div id='header'>
      <div class="head-wrapper">
          <div class="go-back">
              <icon name='chevron-left'></icon>
          </div>
          <p>行程匹配</p>
      </div>
  </div>
</template>
<script>
import Icon from 'vue-awesome/components/Icon'
export default {
  name:'header',
  data () {
      return {
          
      }
  },
  components: {
      Icon
  }
}
</script>
<style scoped>
.head-wrapper{
    width: 100%;
    height: 54px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .12);
    position: relative;
}
.head-wrapper p{
    text-align: center;
    line-height: 54px;
    font-size: 16px;
}
.head-wrapper .fa-icon{
    fill:#3ae2b8;
}
.head-wrapper .go-back{
    position: absolute;
    top: 0;
    left: -5px;
    height: 100%;
    line-height: 58px;
    width: 50px;
}
</style>
